package com.zoke.support.domain;

import com.zoke.support.db.annotation.sqlite.Id;
import com.zoke.support.db.annotation.sqlite.Table;

/**
 * 缓存
 * 
 * @author JackWu
 * 
 */
@Table(name = "cache_json")
public class CacheUrlInfo {
	@Id(column = "url")
	private String url;// url是拼接参数的唯一标示
	private String jsonString;// 缓存的json结构
	private long updateTime;// 缓存的时间--取long值

	public CacheUrlInfo() {
	}

	public CacheUrlInfo(String url, String jsonStr, long updateTime) {
		this.updateTime = updateTime;
		this.url = url;
		this.jsonString = jsonStr;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getJsonString() {
		return jsonString;
	}

	public void setJsonString(String jsonString) {
		this.jsonString = jsonString;
	}

	public long getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(long updateTime) {
		this.updateTime = updateTime;
	}

}
